package com.softhis.rekrutacja.client.view.widgets.impl;


import com.extjs.gxt.ui.client.widget.button.Button;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.softhis.rekrutacja.client.view.widgets.interfaces.IButton;

/**
 * @author Sasak
 *
 */
public class MyGxtButton extends Button implements IButton {

	public MyGxtButton() {

	}

	public MyGxtButton( String text ) {
		super( text );
	}

	public HandlerRegistration addClickHandler( ClickHandler handler ) {
		return addHandler( handler, ClickEvent.getType() );
	}

}